package org.neuedu.chapter07_0624.mydemo01;

public class Student {
    private String name;
    private int age;
    private boolean gender;
    private String nation;

    public Student(String name, int age, boolean gender, String nation) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.nation = nation;
    }

    public Student() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }
}
